package com.lhsy.djcloud;

import com.github.xiaoymin.knife4j.spring.annotations.EnableKnife4j;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * 党建云
 * @author kate
 */
@SpringBootApplication
@MapperScan("com.lhsy.djcloud.mapper")
@Slf4j
@EnableSwagger2
@EnableKnife4j
@EnableWebMvc
public class DjCloudApplication {

    public static void main(String[] args) {
        SpringApplication.run(DjCloudApplication.class, args);
        log.info("------启动成功------");
    }

}
